$(function(){
  var $uploadBtn = $('#news_attacment_file');
  var $ids = $('#news_attacment_file_ids');

  $uploadBtn.uploadify({
    'swf': '/assets/uploadify.swf',
    'uploader': '/admins/news/uploadify',
    'width': 130,
    'height': 30,
    'fileTypeDesc' : 'Image Files',
    'auto' : true,
    'fileSizeLimit' : '5MB',
    'formData': {'isTemp': true},
    'method' : 'post',
    'onUploadSuccess': function(file,data,response) {

    }
  });
});